<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>
    <link rel="stylesheet" href="/static/css/reset.css" />
    <link rel="stylesheet" href="/static/css/content.css" />
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <!--    <div class="public-nav">您当前的位置：<a href="{:url('admin/index/index')}">管理首页</a>><a href="">背景音乐管理</a></div>-->
    <div class="public-content">
        <div class="public-content-header">
            <h3>店铺管理</h3>
        </div>
        <div class="public-content-cont">
            <table class="public-cont-table">
                <tr>
                    <th style="width:10%">ID</th>
                    <th style="width:10%">用户昵称</th>
                    <th style="width:10%">用户头像</th>
                    <th style="width:10%">性别</th>
                    <th style="width:10%">联系电话</th>
                    <th style="width:20%">注册时间</th>
                    <th style="width:20%">操作</th>
                </tr>
                {foreach $user as $key=>$vo}
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.nickname}</td>
                    <td><img src="{$vo.avatarurl}" width=40 height=40 /></td>
                    <td>
                        {if $vo.gender == '1'}男
                        {elseif $vo.gender == '2' /}女
                        {else /}保密
                        {/if}
                    </td>
                    <td>{$vo.mobile}</td>
                        <td>{$vo.ctime|date='Y-m-d H:i:s'}</td>
                    <td>
                        <div class="table-fun">
                            <a href="javascript:if(confirm('是否确定'))location='del?id={$vo.id}'" style="width: 60px">删除</a>
                        </div>
                    </td>
                </tr>
                {/foreach}
            </table>
            {$user|raw}
            <!--            <div class="page">-->
            <!--                <form action="" method="get">-->
            <!--                    共<span>42</span>个站点-->
            <!--                    <a href="">首页</a>-->
            <!--                    <a href="">上一页</a>-->
            <!--                    <a href="">下一页</a>-->
            <!--                    第<span style="color:red;font-weight:600">12</span>页-->
            <!--                    共<span style="color:red;font-weight:600">120</span>页-->
            <!--                    <input type="text" class="page-input">-->
            <!--                    <input type="submit" class="page-btn" value="跳转">-->
            <!--                </form>-->
            <!--            </div>-->
        </div>
    </div>
</div>
</body>
</html>